package com.ylxl.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Auther Gilbert
 * @Date 2023/5/30 20:10
 */
@Data
@TableName("label")
public class Label {
    @ApiModelProperty(value="标签id",required = false)
    @TableId(type = IdType.AUTO) //主键自增
    private Integer id;
    @ApiModelProperty(value="标签姓名",required = false)
    private String labelName;
    @ApiModelProperty(value="创建时间",required = false)
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @ApiModelProperty(value="创建人",required = false)
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @ApiModelProperty(value="更新人",required = false)
    @TableField(fill = FieldFill.UPDATE)
    private String updateBy;
    @ApiModelProperty(value="修改时间",required = false)
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;
    @TableLogic(value = "0",delval="1")
    private String isDeleted;//删除状态(0:未删除 1:已删除)
}
